package com.liuzhilong.infrastructure.demo.state.machine.spring;


import com.liuzhilong.infrastructure.demo.state.machine.spring.simpleleave.SimpleLeaveTest;
import com.liuzhilong.infrastructure.demo.state.machine.spring.simpleleave.definiton.LeaveApplyEvent;
import com.liuzhilong.infrastructure.demo.state.machine.spring.simpleleave.definiton.LeaveApplyState;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;
import org.springframework.statemachine.StateMachine;
import org.springframework.statemachine.config.EnableStateMachine;

/**
 * 启动项
 * @author longandai@163.com
 */
@SpringBootApplication
@Import(value = SimpleLeaveTest.class)
public class Launcher   {

    public static void main(String[] args) {
        SpringApplication.run(Launcher.class);
    }

}
